import 'package:flutter/material.dart';

// ignore: must_be_immutable
class MyIcon extends StatelessWidget {
  Color color;
  IconData icon;
  double size;
  Color cColor;
  MyIcon(this.icon,
      {Key? key,
      required this.color,
      this.size = 100,
      this.cColor = Colors.blue})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 100,
      height: 100,
      color: cColor,
      child: Icon(
        icon,
        size: size,
        color: color,
      ),
    );
  }
}
